﻿using System;

namespace Shuba.Model
{
    [Serializable]
    public class PipelineInfo
    {
        public PipelineInfo()
        {
        }

        public PipelineInfo(
            string ROW_ID,
            string UNIT_CODE,
            string FULL_NAME,
            string JENIS_USAHA,
            double RENCANA_PLAFON,
            string MOBILE_PHONE,
            string OFFICE_PHONE,
            string RESIDENTIAL_PHONE,
            string KODYA_KAB_BUSINESS,
            string KECAMATAN_BUSINESS,
            string KELURAHAN_BUSINESS,
            string ADDRESS_BUSINESS,
            string ZIP_CODE_BUSINESS,
            DateTime DATE_VISIT_PLAN,
            string PROSPECT_TYPE,
            string DEBTOR_TYPE,
            string CHANNELING,
            double OMZET_1,
            double OMZET_2,
            double OMZET_3,
            double OMZET_4,
            double OMZET_5,
            double OMZET_6,
            double OMZET_7,
            double OMZET_8,
            double OMZET_9,
            double OMZET_10,
            double OMZET_11,
            double OMZET_12,
            double OMZET_AVERAGE,
            string ENTRY_BY,
            DateTime ENTRY_DATE,
            string UPDATE_BY,
            DateTime UPDATE_DATE,
            bool IS_DOWNLOADED,
            string DOWNLOAD_BY,
            DateTime DOWNLOAD_DATE,
            string EKSTERNAL,
            string REFERENSI,
            string IS_ASSIGNED,
            string ASSIGNED_TO)
        {
            this.ROW_ID = ROW_ID;
            this.UNIT_CODE = UNIT_CODE;
            this.FULL_NAME = FULL_NAME;
            this.JENIS_USAHA = JENIS_USAHA;
            this.RENCANA_PLAFON = RENCANA_PLAFON;
            this.MOBILE_PHONE = MOBILE_PHONE;
            this.OFFICE_PHONE = OFFICE_PHONE;
            this.RESIDENTIAL_PHONE = RESIDENTIAL_PHONE;
            this.KODYA_KAB_BUSINESS = KODYA_KAB_BUSINESS;
            this.KECAMATAN_BUSINESS = KECAMATAN_BUSINESS;
            this.KELURAHAN_BUSINESS = KELURAHAN_BUSINESS;
            this.ADDRESS_BUSINESS = ADDRESS_BUSINESS;
            this.ZIP_CODE_BUSINESS = ZIP_CODE_BUSINESS;
            this.DATE_VISIT_PLAN = DATE_VISIT_PLAN;
            this.PROSPECT_TYPE = PROSPECT_TYPE;
            this.DEBTOR_TYPE = DEBTOR_TYPE;
            this.CHANNELING = CHANNELING;
            this.OMZET_1 = OMZET_1;
            this.OMZET_2 = OMZET_2;
            this.OMZET_3 = OMZET_3;
            this.OMZET_4 = OMZET_4;
            this.OMZET_5 = OMZET_5;
            this.OMZET_6 = OMZET_6;
            this.OMZET_7 = OMZET_7;
            this.OMZET_8 = OMZET_8;
            this.OMZET_9 = OMZET_9;
            this.OMZET_10 = OMZET_10;
            this.OMZET_11 = OMZET_11;
            this.OMZET_12 = OMZET_12;
            this.OMZET_AVERAGE = OMZET_AVERAGE;
            this.ENTRY_BY = ENTRY_BY;
            this.ENTRY_DATE = ENTRY_DATE;
            this.UPDATE_BY = UPDATE_BY;
            this.UPDATE_DATE = UPDATE_DATE;
            this.IS_DOWNLOADED = IS_DOWNLOADED;
            this.DOWNLOAD_BY = DOWNLOAD_BY;
            this.DOWNLOAD_DATE = DOWNLOAD_DATE;
            this.EKSTERNAL = EKSTERNAL;
            this.REFERENSI = REFERENSI;
            this.IS_ASSIGNED = IS_ASSIGNED;
            this.ASSIGNED_TO = ASSIGNED_TO;
        }

        public PipelineInfo(string UNIT_CODE
                          , string FULL_NAME
                          , string JENIS_USAHA
                          , double RENCANA_PLAFON
                          , string MOBILE_PHONE
                          , string OFFICE_PHONE
                          , string RESIDENTIAL_PHONE
                          , string KODYA_KAB_BUSINESS
                          , string KECAMATAN_BUSINESS
                          , string KELURAHAN_BUSINESS
                          , string ADDRESS_BUSINESS
                          , string ZIP_CODE_BUSINESS
                          , DateTime DATE_VISIT_PLAN
                          , string PROSPECT_TYPE
                          , string DEBTOR_TYPE
                          , string CHANNELING
                          , double OMZET_1
                          , double OMZET_2
                          , double OMZET_3
                          , double OMZET_4
                          , double OMZET_5
                          , double OMZET_6
                          , double OMZET_7
                          , double OMZET_8
                          , double OMZET_9
                          , double OMZET_10
                          , double OMZET_11
                          , double OMZET_12
                          , double OMZET_AVERAGE
                          , string ENTRY_BY
                          , DateTime ENTRY_DATE
                          , string UPDATE_BY
                          , DateTime UPDATE_DATE
                          , bool IS_DOWNLOADED
                          , string DOWNLOAD_BY
                          , DateTime DOWNLOAD_DATE
                          , string ACT_TYPE
                          , string EKSTERNAL
                          , string REFERENSI)
        {     
            this.UNIT_CODE = UNIT_CODE;
            this.FULL_NAME = FULL_NAME;
            this.JENIS_USAHA = JENIS_USAHA;
            this.RENCANA_PLAFON = RENCANA_PLAFON;
            this.MOBILE_PHONE = MOBILE_PHONE;
            this.OFFICE_PHONE = OFFICE_PHONE;
            this.RESIDENTIAL_PHONE = RESIDENTIAL_PHONE;
            this.KODYA_KAB_BUSINESS = KODYA_KAB_BUSINESS;
            this.KECAMATAN_BUSINESS = KECAMATAN_BUSINESS;
            this.KELURAHAN_BUSINESS = KELURAHAN_BUSINESS;
            this.ADDRESS_BUSINESS = ADDRESS_BUSINESS;
            this.ZIP_CODE_BUSINESS = ZIP_CODE_BUSINESS;
            this.DATE_VISIT_PLAN = DATE_VISIT_PLAN;
            this.PROSPECT_TYPE = PROSPECT_TYPE;
            this.DEBTOR_TYPE = DEBTOR_TYPE;
            this.CHANNELING = CHANNELING;
            this.OMZET_1 = OMZET_1;
            this.OMZET_2 = OMZET_2;
            this.OMZET_3 = OMZET_3;
            this.OMZET_4 = OMZET_4;
            this.OMZET_5 = OMZET_5;
            this.OMZET_6 = OMZET_6;
            this.OMZET_7 = OMZET_7;
            this.OMZET_8 = OMZET_8;
            this.OMZET_9 = OMZET_9;
            this.OMZET_10 = OMZET_10;
            this.OMZET_11 = OMZET_11;
            this.OMZET_12 = OMZET_12;
            this.OMZET_AVERAGE = OMZET_AVERAGE;
            this.ENTRY_BY = ENTRY_BY;
            this.ENTRY_DATE = ENTRY_DATE;
            this.UPDATE_BY = UPDATE_BY;
            this.UPDATE_DATE = UPDATE_DATE;
            this.IS_DOWNLOADED = IS_DOWNLOADED;
            this.DOWNLOAD_BY = DOWNLOAD_BY;
            this.DOWNLOAD_DATE = DOWNLOAD_DATE;
            this.ACT_TYPE = ACT_TYPE;
            this.EKSTERNAL = EKSTERNAL;
            this.REFERENSI = REFERENSI;
        }

        /// <summary>
        /// Pipeline info untuk assign to so
        /// </summary>
        public PipelineInfo(
            string ROW_ID,
            string UNIT_CODE,
            string FULL_NAME, 
            string JENIS_USAHA, 
            double RENCANA_PLAFON, 
            string MOBILE_PHONE, 
            string OFFICE_PHONE,
            string KODYA_KAB_BUSINESS,
            string KECAMATAN_BUSINESS,
            string KELURAHAN_BUSINESS,
            string ADDRESS_BUSINESS,
            string ZIP_CODE_BUSINESS,
            string PROSPECT_TYPE,
            string DEBTOR_TYPE,
            string CHANNELING,
            string EKSTERNAL)
        {
            this.ROW_ID = ROW_ID;
            this.UNIT_CODE = UNIT_CODE;
            this.FULL_NAME = FULL_NAME;
            this.JENIS_USAHA = JENIS_USAHA;
            this.RENCANA_PLAFON = RENCANA_PLAFON;
            this.MOBILE_PHONE = MOBILE_PHONE;
            this.OFFICE_PHONE = OFFICE_PHONE;
            this.KODYA_KAB_BUSINESS = KODYA_KAB_BUSINESS;
            this.KECAMATAN_BUSINESS = KECAMATAN_BUSINESS;
            this.KELURAHAN_BUSINESS = KELURAHAN_BUSINESS;
            this.ADDRESS_BUSINESS = ADDRESS_BUSINESS;
            this.ZIP_CODE_BUSINESS = ZIP_CODE_BUSINESS;
            this.PROSPECT_TYPE = PROSPECT_TYPE;
            this.DEBTOR_TYPE = DEBTOR_TYPE;
            this.CHANNELING = CHANNELING;
            this.EKSTERNAL = EKSTERNAL;
        }

        public string ROW_ID { get; set; }
        public string UNIT_CODE { get; set; }
        public string FULL_NAME { get; set; }
        public string JENIS_USAHA { get; set; }
        public double RENCANA_PLAFON { get; set; }
        public string MOBILE_PHONE { get; set; }
        public string OFFICE_PHONE { get; set; }
        public string RESIDENTIAL_PHONE { get; set; }        
        public string KODYA_KAB_BUSINESS { get; set; }
        public string KECAMATAN_BUSINESS { get; set; }
        public string KELURAHAN_BUSINESS { get; set; }        
        public string ADDRESS_BUSINESS { get; set; }
        public string ZIP_CODE_BUSINESS { get; set; }
        public DateTime DATE_VISIT_PLAN { get; set; }
        public string PROSPECT_TYPE { get; set; }
        public string DEBTOR_TYPE { get; set; }
        public string CHANNELING { get; set; }
        public double OMZET_1 { get; set; }
        public double OMZET_2 { get; set; }
        public double OMZET_3 { get; set; }
        public double OMZET_4 { get; set; }
        public double OMZET_5 { get; set; }
        public double OMZET_6 { get; set; }
        public double OMZET_7 { get; set; }
        public double OMZET_8 { get; set; }
        public double OMZET_9 { get; set; }
        public double OMZET_10 { get; set; }
        public double OMZET_11 { get; set; }
        public double OMZET_12 { get; set; }
        public double OMZET_AVERAGE { get; set; }
        public string ENTRY_BY { get; set; }
        public DateTime ENTRY_DATE { get; set; }
        public string UPDATE_BY { get; set; }
        public DateTime UPDATE_DATE { get; set; }
        public bool IS_DOWNLOADED { get; set; }
        public string DOWNLOAD_BY { get; set; }
        public DateTime DOWNLOAD_DATE { get; set; }
        public string ACT_TYPE { get; set; }
        public string EKSTERNAL { get; set; }
        public string EKSTERNAL_ID_DESC { get; set; }
        public string REFERENSI { get; set; }
        public string IS_ASSIGNED { get; set; }
        public string ASSIGNED_TO { get; set; }
    }
}
